package db.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */

public class Student implements java.io.Serializable {

	// Fields

	private String stuid;
	private Dept dept;
	private Major major;
	private Classes classes;
	private String stuname;
	private String stusex;
	private String stuidentify;
	private Short stuedulength;
	private Set stuCourses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Student() {
	}

	/** minimal constructor */
	public Student(String stuid, String stuname, String stuidentify) {
		this.stuid = stuid;
		this.stuname = stuname;
		this.stuidentify = stuidentify;
	}

	/** full constructor */
	public Student(String stuid, Dept dept, Major major, Classes classes, String stuname, String stusex,
			String stuidentify, Short stuedulength, Set stuCourses) {
		this.stuid = stuid;
		this.dept = dept;
		this.major = major;
		this.classes = classes;
		this.stuname = stuname;
		this.stusex = stusex;
		this.stuidentify = stuidentify;
		this.stuedulength = stuedulength;
		this.stuCourses = stuCourses;
	}

	// Property accessors

	public String getStuid() {
		return this.stuid;
	}

	public void setStuid(String stuid) {
		this.stuid = stuid;
	}

	public Dept getDept() {
		return this.dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public Major getMajor() {
		return this.major;
	}

	public void setMajor(Major major) {
		this.major = major;
	}

	public Classes getClasses() {
		return this.classes;
	}

	public void setClasses(Classes classes) {
		this.classes = classes;
	}

	public String getStuname() {
		return this.stuname;
	}

	public void setStuname(String stuname) {
		this.stuname = stuname;
	}

	public String getStusex() {
		return this.stusex;
	}

	public void setStusex(String stusex) {
		this.stusex = stusex;
	}

	public String getStuidentify() {
		return this.stuidentify;
	}

	public void setStuidentify(String stuidentify) {
		this.stuidentify = stuidentify;
	}

	public Short getStuedulength() {
		return this.stuedulength;
	}

	public void setStuedulength(Short stuedulength) {
		this.stuedulength = stuedulength;
	}

	public Set getStuCourses() {
		return this.stuCourses;
	}

	public void setStuCourses(Set stuCourses) {
		this.stuCourses = stuCourses;
	}

}